@extends('../default')
@section('title')
@parent
添加账户
@stop

@section('content')
	<form class="form-horizontal" role="form" method="post" action="/saveAccount">
	<input  type='hidden' name='_token' value='<?php echo csrf_token()?>'/>
		<fieldset>
			<legend>添加账户</legend>
			<div class="form-group">
				<label for="title" class="col-sm-2 control-label">账户名称</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="title" id="title" placeholder="账户名称">
				</div>
			</div>
			<div class="form-group">
				<label for="amount" class="col-sm-2 control-label">初始金额</label>
				<div class="col-sm-10">
					<input type="number" class="form-control" name="amount" id="amount" value="" placeholder="0">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">操作</label>
				<div class="col-sm-10">
					<button type="submit" class="btn btn-primary">添加</button>
					<button type="rest" class="btn btn-danger">重填</button>
				</div>
			</div>
		</fieldset>
	</form>
@stop